<?php
// Options
/*
$contentOptions = array(
	0 => array(
		"text" => "Añadir",
		"link" => Utils::generateSEOUrl($lang, $section, "add"),
		"icon" => IMAGES_URL."icons/small/white/Home.png"
	),
);
$content->assign("contentOptions", $contentOptions);
*/

// Content
$data = $db->getData("content");
for ($i=0; $i<count($data); $i++) {
	$data[$i]["html"] = substr(htmlspecialchars(str_replace("\r\n", "", $data[$i]["html"])), 0, 80)."...";
	$data[$i]["editUrl"] = Utils::generateSEOUrl($lang, $section, "edit", $data[$i]["id"]);
}
$content->assign("data", $data);
?>
